package com.yogee.topseller.activity.login.model.impl;




import com.yogee.topseller.activity.login.model.IResetPswModel;
import com.yogee.topseller.http.HttpManager;

import rx.Observable;

/**
 * 重置密码 model
 *
 * @author BiHaidong
 * @date 2017-4-25
 */
public class ResetPswModel implements IResetPswModel {

    @Override
    public Observable updatePassword(String phone, String password) {
        return HttpManager.getInstance().updatePassword(phone, password);
    }

    @Override
    public Observable sendSMS(String phone, String type) {
        return HttpManager.getInstance().sendSMS(phone,type);
    }

    @Override
    public Observable registSendSMS(String phone,String code, String code_type) {
        return HttpManager.getInstance().registSendSMS(phone,code,code_type);
    }


}
